package model

type RelationRolePolicy struct {
	Id       int
	RoleId   int
	Role     SystemRole
	PolicyId int
	Policy   SystemPolicy
}

func (RelationRolePolicy) TableName() string {
	return "eb_relation_role_policy"
}

// pids []int

// for _, item range reList{
// 	pids=append(pids, item)
// }

// strings.Join(pids, ",")

// select * from xxx where id in()

// bres []interface{}

// mdata:=make(map[int]interface{},0)

// for _,item:=raneg bres{
// 	mdata[id]=item
// }

// for
